package cn.com.cifi.mars.constant;
public enum SupplyConfirmCodeEnum {

	START("confirm_start_time","开始时间"),
	END("confirm_end_time","结束时间"),
	;
	
	private String key;
	private String value;
	
	SupplyConfirmCodeEnum(String key,String value) {
		this.key = key;
		this.value = value;
	}

	 public static String getValueByKey(String key){
	        for(SupplyConfirmCodeEnum eunm:SupplyConfirmCodeEnum.values()){
	            if(key == eunm.getKey()){
	                return eunm.getValue();
	            }
	        }
	        return  null;
	    }
	
	
	/**
	 * @return the key
	 */
	public String getKey() {
		return key;
	}


	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}
}
